Open
Conversation
added 4 commits
November 15, 2025 17:57
他の機能に明け渡すため
…sw25-add_notation_to_express_sound_element # Conflicts: # _core/lib/sw2/edit-arts.pl # _core/lib/sw2/edit-item.pl
2223312 to
fb39671
Compare
50e5321 to
88d68a0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
変更点
主たる機能
『SW2.5』において、「楽素」をあらわす記号の記法を追加。
副作用
折りたたみのデフォルト展開記法( 8b830e9, #326 )から、
[↓]を削除背景と目的
呪歌データや終律データの楽素関連の項目では、以前から
⤴⤵♡がアイコンに置換されていた。この置換が当該項目にかぎってのものであり、それ以外の場所ではアイコンを利用できなかった。
他方、〈楽素のリュート〉(⇒『Ⅱ』258頁)のようなデータを自作しようとしたとき、「効果」等の自由記述欄で、楽素に言及したい場合がある。
⤴⤵♡などの文字をもちいて記述することは可能であるが、そうすると、ゆとシート上の呪歌データ・終律データにおける楽素とはことなる表現になってしまう。このことは、「呪歌・終律データ」と、「それ以外の、楽素に言及するデータ」に関連性がある場合(たとえば、“楽素にかかわる特殊楽器のデータと、その楽器でしか演奏できない専用の呪歌”のような場合)に、とくに統一感を欠く結果をもたらしてしまう。
これを解決するため、楽素記号を示す記法を提供する。
記法
[⤴][↑][⤵][↓][♡]呪歌・終律データの入力候補に示される三種類の文字を、それぞれ
[]でくくったものを基本形とする。[]でくくる記法は、刃武器・打撃武器の別を示す記号などですでに存在しており、それを踏襲したかたちである。ただし、
⤴および⤵は一般的に入力しづらい文字であるため、より簡易な記法を提供すべく、それぞれ↑↓でも同じ結果が得られるようにした。副作用について
前項で述べた
[↓]記法の実現のために、折りたたみのデフォルト展開記法( 8b830e9, #326 )から、[↓]を削除することになった。これは互換性をそこなう変更であるが、折りたたみのデフォルト展開記法はまだリリースバージョンには含まれていない機能であり(現時点での最終リリースバージョンはver.1.26.0)、ゆと工公式のゆとシートには取り込まれているものの、ゆとらいず工房のSNSアカウントからアナウンスされたようなこともないはずであり、現時点では比較的許容しうると考える。